package com.weitu.occupationalHealth.phyData.entity;

import com.weitu.permission.user.entity.UserDepartment;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/** 
 * 职业卫生_体检数据 HSE_OHE_PHYDATA
 * @author Sun
 * date 2017/04/15 14:22
 */
public class PhyData implements Serializable {
    //串行版本ID
    private static final long serialVersionUID = -9134192740117292255L;

    private List<Map> phyReview;
    private List<Map> phyDiagnosis;
    private List<Map> phyTgStation;
    private List<Map> phyHarmIds;
    // 主键 使用uuid
    private String id;
    private Integer isAbnormal;
    private String userCode;
    private String postName;
    // 标识
    private String code;

    // 备注
    private String remarks;

    // 删除标记 0未删除 1 已删除  默认：((0))
    private Integer delState;

    // 添加人
    private String addUserId;

    // 添加人部门Id
    private String addDeptId;

    // 添加时间
    private String addTime;

    // 修改人部门Id
    private String updateDeptId;

    // 最后修改人
    private String updateUserId;

    // 最后修改时间
    private String updateTime;

    // 人员Id
    private String userId;

    // 体检批次
    private String physicalBatch;

    // 主要症状
    private String mainSymptom;

    // 诊断单位
    private String serviceId;

    // 体检日期
    private String physicalDate;

    // 医生结论
    private String doctorConclusion;

    // 处理意见
    private String options;

    private String optionsName;

    private String serviceName;

    private Integer gender;
    /**
     * 用户部门关联
     * Column: SYS_DEPARTMENT
     */
    private List<UserDepartment> userDepartmentList;

    private List<Map> phyConclusions;

    private List<Map> phyForbid;

    private List<Map> phyDoubt;

    private List<Map> phyOther;

    private List<Map> phyConclusionsState;
    /** 
     * 获取 主键 使用uuid HSE_OHE_PHYDATA.id
     * @return 主键 使用uuid
     */
    public String getId() {
        return id;
    }

    /** 
     * 设置 主键 使用uuid HSE_OHE_PHYDATA.id
     * @param id 主键 使用uuid
     */
    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    /** 
     * 获取 标识 HSE_OHE_PHYDATA.code
     * @return 标识
     */
    public String getCode() {
        return code;
    }

    /** 
     * 设置 标识 HSE_OHE_PHYDATA.code
     * @param code 标识
     */
    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }

    /** 
     * 获取 备注 HSE_OHE_PHYDATA.remarks
     * @return 备注
     */
    public String getRemarks() {
        return remarks;
    }

    /** 
     * 设置 备注 HSE_OHE_PHYDATA.remarks
     * @param remarks 备注
     */
    public void setRemarks(String remarks) {
        this.remarks = remarks == null ? null : remarks.trim();
    }

    /** 
     * 获取 删除标记 0未删除 1 已删除 HSE_OHE_PHYDATA.delState
     * @return 删除标记 0未删除 1 已删除
     */
    public Integer getDelState() {
        return delState;
    }

    /** 
     * 设置 删除标记 0未删除 1 已删除 HSE_OHE_PHYDATA.delState
     * @param delState 删除标记 0未删除 1 已删除
     */
    public void setDelState(Integer delState) {
        this.delState = delState;
    }

    /** 
     * 获取 添加人 HSE_OHE_PHYDATA.addUserId
     * @return 添加人
     */
    public String getAddUserId() {
        return addUserId;
    }

    /** 
     * 设置 添加人 HSE_OHE_PHYDATA.addUserId
     * @param addUserId 添加人
     */
    public void setAddUserId(String addUserId) {
        this.addUserId = addUserId == null ? null : addUserId.trim();
    }

    /** 
     * 获取 添加人部门Id HSE_OHE_PHYDATA.addDeptId
     * @return 添加人部门Id
     */
    public String getAddDeptId() {
        return addDeptId;
    }

    /** 
     * 设置 添加人部门Id HSE_OHE_PHYDATA.addDeptId
     * @param addDeptId 添加人部门Id
     */
    public void setAddDeptId(String addDeptId) {
        this.addDeptId = addDeptId == null ? null : addDeptId.trim();
    }

    /** 
     * 获取 添加时间 HSE_OHE_PHYDATA.addTime
     * @return 添加时间
     */
    public String getAddTime() {
        return addTime;
    }

    /** 
     * 设置 添加时间 HSE_OHE_PHYDATA.addTime
     * @param addTime 添加时间
     */
    public void setAddTime(String addTime) {
        this.addTime = addTime == null ? null : addTime.trim();
    }

    /** 
     * 获取 修改人部门Id HSE_OHE_PHYDATA.updateDeptId
     * @return 修改人部门Id
     */
    public String getUpdateDeptId() {
        return updateDeptId;
    }

    /** 
     * 设置 修改人部门Id HSE_OHE_PHYDATA.updateDeptId
     * @param updateDeptId 修改人部门Id
     */
    public void setUpdateDeptId(String updateDeptId) {
        this.updateDeptId = updateDeptId == null ? null : updateDeptId.trim();
    }

    /** 
     * 获取 最后修改人 HSE_OHE_PHYDATA.updateUserId
     * @return 最后修改人
     */
    public String getUpdateUserId() {
        return updateUserId;
    }

    /** 
     * 设置 最后修改人 HSE_OHE_PHYDATA.updateUserId
     * @param updateUserId 最后修改人
     */
    public void setUpdateUserId(String updateUserId) {
        this.updateUserId = updateUserId == null ? null : updateUserId.trim();
    }

    /** 
     * 获取 最后修改时间 HSE_OHE_PHYDATA.updateTime
     * @return 最后修改时间
     */
    public String getUpdateTime() {
        return updateTime;
    }

    /** 
     * 设置 最后修改时间 HSE_OHE_PHYDATA.updateTime
     * @param updateTime 最后修改时间
     */
    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime == null ? null : updateTime.trim();
    }

    /** 
     * 获取 人员Id HSE_OHE_PHYDATA.userId
     * @return 人员Id
     */
    public String getUserId() {
        return userId;
    }

    /** 
     * 设置 人员Id HSE_OHE_PHYDATA.userId
     * @param userId 人员Id
     */
    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    /** 
     * 获取 体检批次 HSE_OHE_PHYDATA.physicalBatch
     * @return 体检批次
     */
    public String getPhysicalBatch() {
        return physicalBatch;
    }

    /** 
     * 设置 体检批次 HSE_OHE_PHYDATA.physicalBatch
     * @param physicalBatch 体检批次
     */
    public void setPhysicalBatch(String physicalBatch) {
        this.physicalBatch = physicalBatch == null ? null : physicalBatch.trim();
    }

    /** 
     * 获取 主要症状 HSE_OHE_PHYDATA.mainSymptom
     * @return 主要症状
     */
    public String getMainSymptom() {
        return mainSymptom;
    }

    /** 
     * 设置 主要症状 HSE_OHE_PHYDATA.mainSymptom
     * @param mainSymptom 主要症状
     */
    public void setMainSymptom(String mainSymptom) {
        this.mainSymptom = mainSymptom == null ? null : mainSymptom.trim();
    }

    /** 
     * 获取 诊断单位 HSE_OHE_PHYDATA.serviceId
     * @return 诊断单位
     */
    public String getServiceId() {
        return serviceId;
    }

    /** 
     * 设置 诊断单位 HSE_OHE_PHYDATA.serviceId
     * @param serviceId 诊断单位
     */
    public void setServiceId(String serviceId) {
        this.serviceId = serviceId == null ? null : serviceId.trim();
    }

    /** 
     * 获取 体检日期 HSE_OHE_PHYDATA.physicalDate
     * @return 体检日期
     */
    public String getPhysicalDate() {
        return physicalDate;
    }

    /** 
     * 设置 体检日期 HSE_OHE_PHYDATA.physicalDate
     * @param physicalDate 体检日期
     */
    public void setPhysicalDate(String physicalDate) {
        this.physicalDate = physicalDate == null ? null : physicalDate.trim();
    }

    /** 
     * 获取 医生结论 HSE_OHE_PHYDATA.doctorConclusion
     * @return 医生结论
     */
    public String getDoctorConclusion() {
        return doctorConclusion;
    }

    /** 
     * 设置 医生结论 HSE_OHE_PHYDATA.doctorConclusion
     * @param doctorConclusion 医生结论
     */
    public void setDoctorConclusion(String doctorConclusion) {
        this.doctorConclusion = doctorConclusion == null ? null : doctorConclusion.trim();
    }

    /** 
     * 获取 处理意见 HSE_OHE_PHYDATA.options
     * @return 处理意见
     */
    public String getOptions() {
        return options;
    }

    /** 
     * 设置 处理意见 HSE_OHE_PHYDATA.options
     * @param options 处理意见
     */
    public void setOptions(String options) {
        this.options = options == null ? null : options.trim();
    }

    private String medicalCategory;
    private String batch;
    private String yearAnnual;
    private String planType;
    private String deptName;
    private String userName;
    private String userPhy;

    public String getOptionsName() {
        return optionsName;
    }

    public void setOptionsName(String optionsName) {
        this.optionsName = optionsName;
    }

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    public String getBatch() {
        return batch;
    }

    public void setBatch(String batch) {
        this.batch = batch;
    }

    public String getYearAnnual() {
        return yearAnnual;
    }

    public void setYearAnnual(String yearAnnual) {
        this.yearAnnual = yearAnnual;
    }

    public String getPlanType() {
        return planType;
    }

    public void setPlanType(String planType) {
        this.planType = planType;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPhy() {
        return userPhy;
    }

    public void setUserPhy(String userPhy) {
        this.userPhy = userPhy;
    }

    public List<UserDepartment> getUserDepartmentList() {
        return userDepartmentList;
    }

    public void setUserDepartmentList(List<UserDepartment> userDepartmentList) {
        this.userDepartmentList = userDepartmentList;
    }

    public List<Map> getPhyConclusions() {
        return phyConclusions;
    }

    public void setPhyConclusions(List<Map> phyConclusions) {
        this.phyConclusions = phyConclusions;
    }

    public List<Map> getPhyForbid() {
        return phyForbid;
    }

    public void setPhyForbid(List<Map> phyForbid) {
        this.phyForbid = phyForbid;
    }

    public List<Map> getPhyDoubt() {
        return phyDoubt;
    }

    public void setPhyDoubt(List<Map> phyDoubt) {
        this.phyDoubt = phyDoubt;
    }

    public List<Map> getPhyOther() {
        return phyOther;
    }

    public void setPhyOther(List<Map> phyOther) {
        this.phyOther = phyOther;
    }

    public String getMedicalCategory() {
        return medicalCategory;
    }

    public void setMedicalCategory(String medicalCategory) {
        this.medicalCategory = medicalCategory;
    }

    public List<Map> getPhyConclusionsState() {
        return phyConclusionsState;
    }

    public void setPhyConclusionsState(List<Map> phyConclusionsState) {
        this.phyConclusionsState = phyConclusionsState;
    }

    public List<Map> getPhyReview() {
        return phyReview;
    }

    public void setPhyReview(List<Map> phyReview) {
        this.phyReview = phyReview;
    }

    public List<Map> getPhyDiagnosis() {
        return phyDiagnosis;
    }

    public void setPhyDiagnosis(List<Map> phyDiagnosis) {
        this.phyDiagnosis = phyDiagnosis;
    }

    public Integer getIsAbnormal() {
        return isAbnormal;
    }

    public void setIsAbnormal(Integer isAbnormal) {
        this.isAbnormal = isAbnormal;
    }

    public List<Map> getPhyTgStation() {
        return phyTgStation;
    }

    public void setPhyTgStation(List<Map> phyTgStation) {
        this.phyTgStation = phyTgStation;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public String getPostName() {
        return postName;
    }

    public void setPostName(String postName) {
        this.postName = postName;
    }

    public List<Map> getPhyHarmIds() {
        return phyHarmIds;
    }

    public void setPhyHarmIds(List<Map> phyHarmIds) {
        this.phyHarmIds = phyHarmIds;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("PhyData{");
        sb.append("id='").append(id).append('\'');
        sb.append(", isAbnormal=").append(isAbnormal);
        sb.append(", userCode='").append(userCode).append('\'');
        sb.append(", postName='").append(postName).append('\'');
        sb.append(", code='").append(code).append('\'');
        sb.append(", remarks='").append(remarks).append('\'');
        sb.append(", delState=").append(delState);
        sb.append(", addUserId='").append(addUserId).append('\'');
        sb.append(", addDeptId='").append(addDeptId).append('\'');
        sb.append(", addTime='").append(addTime).append('\'');
        sb.append(", updateDeptId='").append(updateDeptId).append('\'');
        sb.append(", updateUserId='").append(updateUserId).append('\'');
        sb.append(", updateTime='").append(updateTime).append('\'');
        sb.append(", userId='").append(userId).append('\'');
        sb.append(", physicalBatch='").append(physicalBatch).append('\'');
        sb.append(", mainSymptom='").append(mainSymptom).append('\'');
        sb.append(", serviceId='").append(serviceId).append('\'');
        sb.append(", physicalDate='").append(physicalDate).append('\'');
        sb.append(", doctorConclusion='").append(doctorConclusion).append('\'');
        sb.append(", options='").append(options).append('\'');
        sb.append(", optionsName='").append(optionsName).append('\'');
        sb.append(", serviceName='").append(serviceName).append('\'');
        sb.append(", gender=").append(gender);
        sb.append(", phyConclusions=").append(phyConclusions);
        sb.append(", phyForbid=").append(phyForbid);
        sb.append(", phyDoubt=").append(phyDoubt);
        sb.append(", phyOther=").append(phyOther);
        sb.append(", medicalCategory='").append(medicalCategory).append('\'');
        sb.append(", batch='").append(batch).append('\'');
        sb.append(", yearAnnual='").append(yearAnnual).append('\'');
        sb.append(", planType='").append(planType).append('\'');
        sb.append(", deptName='").append(deptName).append('\'');
        sb.append(", userName='").append(userName).append('\'');
        sb.append(", userPhy='").append(userPhy).append('\'');
        sb.append('}');
        return sb.toString();
    }
}